//@target: ES6
function * g() {
    @(yield 0)
    class C {};
}